Ext.define('AutoTestApp.view.basic.SummaryView', {
	extend : 'Ext.panel.Panel',
	xtype : 'view-basic-SummaryView',
	requires : [
		'AutoTestApp.view.basic.EnvironmentList',
		'AutoTestApp.view.basic.SystemInfo',
		'AutoTestApp.view.basic.SystemConf'
	],
	bodyPadding : 10,
	items : [ {
		xtype : 'fieldset',
		title: '环境信息',
		collapsible: true,
		defaults: {
			labelWidth: 89,
			anchor: '95%',
			layout: {
				type: 'hbox',
				defaultMargins: {top: 0, right: 5, bottom: 0, left: 5}
			}
		},
		items: [{
			xtype: 'fieldcontainer',
			layout : 'hbox',
			items: [ {
				fieldLabel: '运行时间',
				xtype: 'displayfield', 
				name : 'uptime',
				value: ''
			}, {
				fieldLabel: '测试',
				xtype: 'displayfield', 
				name : 'uptime',
				value: ''
			}]
		}, {
			xtype: 'fieldcontainer',
			layout : 'hbox',
			items: [ {
				fieldLabel: '运行时间',
				xtype: 'displayfield', 
				name : 'uptime',
				value: ''
			}, {
				fieldLabel: '运行时间',
				xtype: 'displayfield', 
				name : 'uptime',
				value: ''
			}]

		}]
	}, {
		xtype : 'fieldset',
		title: '系统信息',
		collapsible: true,
		defaults: {
			labelWidth: 89,
			anchor: '100%',
			layout: {
				type: 'hbox',
				defaultMargins: {top: 5, right: 5, bottom: 10, left: 5}
			}
		},
		items: [{
			xtype : 'fieldcontainer',
			layout : 'hbox',
			items: [ {
				width : '45%',
				minHeight : 400,
				xtype: 'view-basic-EnvironmentList'
			}, {
				xtype : 'panel',
				width : '55%',
				padding : '0 0 0 10',
				items: [ {
					minHeight : 200,
					xtype: 'view-basic-SystemInfo'
				}, { 
					minHeight : 200,
					xtype: 'view-basic-SystemConf'
	   			}]
	   		}]
	   	}]
	}]
});
